from django.conf.urls.defaults import *
from goodboard.views import current_datetime
from goodboard.mainboard.views import *
from django.contrib.auth.views import login, logout
from django.contrib.staticfiles.urls import staticfiles_urlpatterns


# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^$' , homepage),
    (r'^test/$' , houses),
    (r'^accounts/login/$' , login),
    (r'^accounts/logout/$' , logout),
    # Example:
    # (r'^goodboard/', include('goodboard.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
)

urlpatterns += staticfiles_urlpatterns()



